package com.tdam.CommunicationManager;

import java.util.Comparator;
import java.util.Date;

import android.provider.CallLog;

public class LogInfo 
{
	protected String number;
	protected String contactName;
	protected Date date;
	protected int type;
	protected EditStatus edit;
	public static final int SMS_RECEIVED=11;
	public static final int SMS_SEND=12;	
	public static final int INCOMING=CallLog.Calls.INCOMING_TYPE;
	public static final int OUTGOING=CallLog.Calls.OUTGOING_TYPE;
	public static final int MISSED=CallLog.Calls.MISSED_TYPE;		
	public LogInfo(int type,String number,String contactName,Date date)
	{
		this.type=type;
		this.number=number;
		this.contactName=contactName;
		this.date=(Date) date.clone();
		this.edit=EditStatus.NOT_EDIT;
	}
	
	public LogInfo(){}
	
}
